   // 服务协议
   function protocol() {

     //   实例化vue
     new Vue({
       el: "#protocol",
       data() {
         return {
           content: null,
         }
       },
       methods: {
         // 获取服务协议
         getContent: function() {
           let that = this;
           let url = `${urlParam.domain()}api/agreement/appRegistAgreement`;
           axios({
               url: url,
               method: 'get',
               params: {
                 token: "1632e581-d537-40b0-ad81-215c94280d32"
               },

             }).then(function(res) {
               const prorocol = res.data.data;
               that.content = prorocol.replace(prorocol ? /&(?!#?\w+;)/g : /&/g, '&amp;')
                 .replace(/&lt;/g, "<")
                 .replace(/&gt;/g, ">")
                 .replace(/&quot;/g, "\'")
                 .replace(/&#39;/g, "\'");

             })
             .catch(function(error) {
               console.log(error);
             });

         },

       },
       created() {
         this.getContent();
       }
     })
   }